home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 953;
- loop0:
- while(true)
- {
- if(eval("\x01") == 953)
- {
- set("\x01",eval("\x01") - 841);
- §§push(true);
- }
- else if(eval("\x01") == 38)
- {
- set("\x01",eval("\x01") + 129);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 132);
- }
- }
- else
- {
- if(eval("\x01") == 167)
- {
- set("\x01",eval("\x01") - 132);
- break;
- }
- if(eval("\x01") != 112)
- {
- if(eval("\x01") == 685)
- {
- set("\x01",eval("\x01") + 10);
- loop1:
- while(true)
- {
- if(§§pop())
- {
- set("\x01",eval("\x01") - 262);
- }
- while(true)
- {
- if(eval("\x01") == 506)
- {
- set("\x01",eval("\x01") - 138);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 368)
- {
- set("\x01",eval("\x01") + 614);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 888);
- }
- continue;
- }
- if(eval("\x01") == 365)
- {
- set("\x01",eval("\x01") - 262);
- nextFrame();
- nextFrame();
- stop();
- prevFrame();
- nextFrame();
- nextFrame();
- break loop0;
- }
- if(eval("\x01") == 985)
- {
- set("\x01",eval("\x01") - 253);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 315);
- }
- continue;
- }
- if(eval("\x01") == 745)
- {
- set("\x01",eval("\x01") + 240);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 732)
- {
- break loop1;
- }
- if(eval("\x01") == 901)
- {
- set("\x01",eval("\x01") - 414);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 275);
- }
- continue;
- }
- if(eval("\x01") == 685)
- {
- break;
- }
- if(eval("\x01") == 417)
- {
- set("\x01",eval("\x01") + 484);
- §§push(true);
- continue;
- }
- if(eval("\x01") != 423)
- {
- if(eval("\x01") == 703)
- {
- set("\x01",eval("\x01") - 280);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 322);
- }
- }
- else if(eval("\x01") == 762)
- {
- set("\x01",eval("\x01") - 77);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 487)
- {
- set("\x01",eval("\x01") + 275);
- break loop0;
- }
- if(eval("\x01") == 103)
- {
- set("\x01",eval("\x01") + 567);
- stop();
- break loop0;
- }
- if(eval("\x01") != 94)
- {
- if(eval("\x01") == 982)
- {
- set("\x01",eval("\x01") - 888);
- }
- break loop0;
- }
- set("\x01",eval("\x01") + 609);
- §§push(true);
- }
- continue;
- }
- set("\x01",eval("\x01") + 322);
- toggleHighQuality();
- §§pop()[§§pop()[§§pop()] - 1] = _loc2_;
- _level0.localTopScore.data.keys[keyIndex][goal.index - 1] = _root.gameInfo.keys[keyIndex][goal.index - 1];
- }
- set("\x01",eval("\x01") - 320);
- }
- set("\x01",eval("\x01") - 315);
- §§push(§§pop() | §§pop());
- break;
- }
- if(eval("\x01") != 695)
- {
- if(eval("\x01") != 35)
- {
- break;
- }
- set("\x01",eval("\x01") + 330);
- goal;
- onFocus = function()
- {
- var _loc2_ = this.index;
- this = this._parent;
- this["k" + _loc2_].text = "";
- goal = this["k" + _loc2_];
- this["bg" + _loc2_].gotoAndStop(2);
- };
- onKill = function()
- {
- var _loc3_ = this.index;
- this = this._parent;
- this["bg" + _loc3_].gotoAndStop(1);
- this["k" + _loc3_].text = getKey(_root.gameInfo.keys[keyIndex][_loc3_ - 1]);
- };
- k1.index = 1;
- k1.onSetFocus = onFocus;
- k1.onKillFocus = onKill;
- k2.index = 2;
- k2.onSetFocus = onFocus;
- k2.onKillFocus = onKill;
- k3.index = 3;
- k3.onSetFocus = onFocus;
- k3.onKillFocus = onKill;
- k4.index = 4;
- }
- set("\x01",eval("\x01") - 657);
- §§push(true);
- continue;
- k4.onSetFocus = onFocus;
- k4.onKillFocus = onKill;
- k5.index = 5;
- k5.onSetFocus = onFocus;
- k5.onKillFocus = onKill;
- getKey = function(code)
- {
- switch(code)
- {
- case 38:
- txt = "Γåæ";
- break;
- case 37:
- txt = "←";
- break;
- case 39:
- txt = "→";
- break;
- case 40:
- txt = "Γåô";
- break;
- case 32:
- txt = "SP";
- break;
- case 17:
- txt = "Ctr";
- break;
- case 16:
- txt = "Sh";
- break;
- case 20:
- txt = "CL";
- break;
- case 46:
- txt = "Del";
- break;
- case 45:
- txt = "In";
- break;
- case 13:
- txt = "E";
- break;
- default:
- txt = String.fromCharCode(code);
- }
- return txt;
- };
- var obj = new Object();
- §§push(obj);
- §§push("onKeyDown");
- §§pop()[§§pop()] = §§pop();
- Key.addListener(obj);
- iniKeys = function(ki)
- {
- keyIndex = ki;
- keyIndex = keyIndex != undefined ? keyIndex : 0;
- var _loc3_ = 1;
- while(_loc3_ <= 5)
- {
- this["k" + _loc3_].text = getKey(_root.gameInfo.keys[keyIndex][_loc3_ - 1]);
- _loc3_ = _loc3_ + 1;
- }
- };
- iniKeys();
- break;
- }
- set("\x01",eval("\x01") + 573);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 10);
- }
- }
- }
-